package cn.aspect.controller;

import cn.aspect.bean.CustomTestBean;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/annotation")
public class TestController {
    @RequestMapping(value = "/testCustomBean",method = RequestMethod.GET, produces = "application/json;charset=UTF-8")
    public CustomTestBean testCustomBean(CustomTestBean customTestBean){
        return customTestBean;
    }
}
